<?php if (!defined('THINK_PATH')) exit();?><style>
    .daterangepicker.dropdown-menu, .select2-container--open {
        z-index: 99999999;
    }
    .select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
        height:30px;
    }
    .layui-layer-shade  {
        left:inherit;
        top:50px;
        position:absolute;
    }

    .btn-row>a {
        display: block;
        float: left;
        margin-top: 10px;
        border: 1px solid #00c0ef;
        box-sizing: border-box;
        text-align: center;
        color:#333333;
        margin-left: 1%;
        margin-right: 1%;
        width:100px;
        line-height: 25px;
        cursor: pointer;
    }

    .btn-row>a.active {
        background-color: #00c0ef;
        color: #ffffff;
    }
</style>
<div class="row" id="myapp">
    <pop-bind-bank-component></pop-bind-bank-component>
    <pop-organization-recharge-component></pop-organization-recharge-component>
	<pop-scan-code-component></pop-scan-code-component>

    <div class="col-xs-12">
        <div class="box box-danger">
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-striped table-hover">
                    <thead>
                    <tr>
                        <th style="width:35px;">#</th><th>签约时间</th><th>签约银行</th><th>开户省份</th><th>开户城市</th><th>开户支行</th><th>银行账号名称</th><th>银行账号</th><th style="width:280px;">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="(index, item) in organization_bank_list">
                        <td>{{index+1}}</td><td>{{item.datetime}}</td>
                        <td>{{item.bank_name}}</td><td>{{item.province | city_text 1}}</td><td>{{item.city | city_text 2}}</td><td>{{item.bank_address}}</td>
                        <td>{{item.cardholder}}</td><td>{{item.bank_no}}</td>
                        <td>
                            <span style="cursor:pointer;margin-right:3px;" class="label label-danger" @click="openRechargeWithdrawalsWin();">申请出金</span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="overlay hidden">
                <i class="fa fa-refresh fa-spin"></i>
            </div>
        </div>
        <!-- /.box -->
    </div>


    <div class="col-xs-12">
        <div class="box box-info">
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-striped table-hover">
                    <thead>
                    <tr>
                        <th style="width:35px;">#</th><th>机构编码</th><th>机构名称</th><th>资金余额</th><th>创建时间</th><th></th><th></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="(index, item) in organization_list">
                        <td>{{index+1}}</td><td>{{item.code}}</td>
                        <td>{{item.name}}</td><td>{{item.balance}}</td><td>{{item.datetime}}</td>
                        <td>
                            <span style="cursor:pointer;margin-right:3px;" class="label label-primary" @click="openRechargeSmallAmountWin();">在线入金</span>
							<span style="cursor:pointer;margin-right:3px;" class="label label-warning" @click="rechargeLargeAmount();">入金申请</span>
                        </td>
                        <td>
                            <span style="cursor:pointer;margin-right:3px;" class="label bg-purple" @click="openBindBankWin();">绑定银行信息</span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="overlay hidden">
                <i class="fa fa-refresh fa-spin"></i>
            </div>
        </div>
        <!-- /.box -->
    </div>
</div>

<div class="layui-layer-shade" id="layui-layer-shade" times="1" style="z-index:19891014; background-color:#ffffff; opacity:1; filter:alpha(opacity=1);"></div>
<div class="layui-layer layui-layer-loading  layer-anim" id="layui_layer" type="loading" times="1" showtime="0" contype="string" style="z-index: 19891015;"><div id="" class="layui-layer-content layui-layer-loading0"></div><span class="layui-layer-setwin"></span></div>

<script>
    var root = 'admin';
    layuiLayerLoad();
</script>
<script src="http://getplan.cn/WebApp/Home/View/Public/baofeng/js/jsAddress.js"></script>
<script src="./WebApp/Admin/View/Public/self/js/organization/organizationBank/components.js"></script>
<script src="./WebApp/Admin/View/Public/self/js/organization/organizationBank/vue.js"></script>